/**
 * @author
 * @description  controller
 */
angular.module('app.controllers')
    .controller('DealConfirmController',['$scope', '$log', '$state', 'ApiUrl', 'HttpService', 'Util', '$stateParams', 'uiLoad', '$uibModalInstance', 'callback', 'params', function ($scope, $log, $state, ApiUrl, HttpService, Util, $stateParams ,uiLoad,$uibModalInstance,callback,params) {
        $scope.isLoading = false;
        $scope.dealTitle=params;
        $scope.dismiss = function(){
            $uibModalInstance.dismiss();
        };
        $scope.close = function(){
            $uibModalInstance.close();
        };
        $scope.submit = function(){
            callback.call(this);
            $uibModalInstance.close();
        };
    }]);